
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>常见问题 · 邦德前端开发</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.2">
        <meta name="author" content="i@ickeep.com">
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-prism/prism.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-plus/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-tbfed-pagefooter/footer.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchors/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-diy-introduction/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    
    <link rel="prev" href="../2.前端规范/6.前后端数据交互说明.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
        
        <li>
            <a href="http://2017hcb.bond520.com/pc/index.html" target="_blank" class="custom-link">邦德官网</a>
        </li>
    
    

    
    <li class="divider"></li>
    

    
        
        <li class="header">开发说明</li>
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">前端规范</li>
        
        
    
        <li class="chapter " data-level="2.1" data-path="../2.前端规范/1.HTML.html">
            
                <a href="../2.前端规范/1.HTML.html">
            
                    
                    1.HTML
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="../2.前端规范/2.CSS.html">
            
                <a href="../2.前端规范/2.CSS.html">
            
                    
                    2.CSS
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="../2.前端规范/3.JavaScript.html">
            
                <a href="../2.前端规范/3.JavaScript.html">
            
                    
                    3.JavaScript
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="../2.前端规范/4.ESlint检测规则说明.html">
            
                <a href="../2.前端规范/4.ESlint检测规则说明.html">
            
                    
                    4.ESlint 检测规则说明
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5" data-path="../2.前端规范/5.vue规范.html">
            
                <a href="../2.前端规范/5.vue规范.html">
            
                    
                    5.vue规范
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6" data-path="../2.前端规范/6.前后端数据交互说明.html">
            
                <a href="../2.前端规范/6.前后端数据交互说明.html">
            
                    
                    6.前后端数据交互说明
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">常见问题</li>
        
        
    
        <li class="chapter active" data-level="3.1" data-path="常见问题.html">
            
                <a href="常见问题.html">
            
                    
                    常见问题
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >常见问题</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h3 id="&#x5E38;&#x89C1;&#x95EE;&#x9898;"><a name="&#x5E38;&#x89C1;&#x95EE;&#x9898;" class="plugin-anchor" href="#&#x5E38;&#x89C1;&#x95EE;&#x9898;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x5E38;&#x89C1;&#x95EE;&#x9898;</h3>
<blockquote>
<ol>
<li>vue&#x91CC;&#x5982;&#x4F55;&#x5F15;&#x5165;&#x7B2C;&#x4E09;&#x65B9;&#x811A;&#x672C;(&#x4E0D;&#x652F;&#x6301;webpack)&#xFF0C;&#x5982; webIm sdk <blockquote>
<p>&#x4F7F;&#x7528;&#x5DE5;&#x5177;&#x51FD;&#x6570;(src/tool.js) this.$tool.loadScript(url) &#x52A0;&#x8F7D;&#x811A;&#x672C;
&#x4F7F;&#x7528; this.$tool.isLoadDone() &#x5224;&#x65AD;&#x662F;&#x5426;&#x52A0;&#x8F7D;&#x5B8C;&#x6210;
&#x6CE8;&#x610F;&#xFF0C;&#x52A0;&#x8F7D;&#x5B8C;&#x6210;&#x540E;&#x7684;&#x5168;&#x5C40;&#x53D8;&#x91CF;&#x5728; vue&#x91CC;&#xFF0C;&#x9700;&#x8981;&#x524D;&#x9762;&#x52A0; window. &#x8FDB;&#x884C;&#x8BBF;&#x95EE;
DEMO </p>
<pre class="language-"><code class="lang-js"> <span class="token keyword">this</span><span class="token punctuation">.</span>$tool<span class="token punctuation">.</span><span class="token function">loadScript</span><span class="token punctuation">(</span><span class="token string">&apos;//yuntv.letv.com/player/live/blive.js&apos;</span><span class="token punctuation">)</span>
 <span class="token keyword">this</span><span class="token punctuation">.</span>$tool<span class="token punctuation">.</span><span class="token function">isLoadDone</span><span class="token punctuation">(</span><span class="token string">&apos;CloudLivePlayer&apos;</span><span class="token punctuation">)</span><span class="token punctuation">.</span><span class="token function">then</span><span class="token punctuation">(</span><span class="token punctuation">(</span>isDone<span class="token punctuation">)</span> <span class="token operator">=</span><span class="token operator">&gt;</span> <span class="token punctuation">{</span>
   <span class="token keyword">if</span> <span class="token punctuation">(</span>isDone<span class="token punctuation">)</span> <span class="token punctuation">{</span>
     <span class="token keyword">const</span> player <span class="token operator">=</span> <span class="token keyword">new</span> <span class="token class-name">window<span class="token punctuation">.</span>CloudLivePlayer</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
     <span class="token keyword">const</span> playerConf <span class="token operator">=</span> <span class="token punctuation">{</span> activityId<span class="token punctuation">:</span> <span class="token string">&apos;A2017021500000dv&apos;</span><span class="token punctuation">,</span> auto_play<span class="token punctuation">:</span> <span class="token number">1</span> <span class="token punctuation">}</span>
     player<span class="token punctuation">.</span><span class="token function">init</span><span class="token punctuation">(</span>playerConf<span class="token punctuation">,</span> <span class="token string">&apos;player&apos;</span><span class="token punctuation">)</span>
   <span class="token punctuation">}</span>
 <span class="token punctuation">}</span><span class="token punctuation">)</span>
</code></pre>
</blockquote>
</li>
<li>webstorm&#x4E2D;&#x5982;&#x4F55;&#x89E3;&#x51B3;&#x4E0D;&#x80FD;&#x8FDB;&#x884C;svn&#x7BA1;&#x7406;&#x95EE;&#x9898;<blockquote>
<p> svn&#x5728;webstorm&#x914D;&#x7F6E;&#x5B8C;&#x6210;&#x540E;&#x51FA;&#x73B0;Can&apos;t use Subversion command line client:svn&#x62A5;&#x9519;&#x3002;
 &#x662F;&#x56E0;&#x4E3A;command-line&#x529F;&#x80FD;&#x6CA1;&#x6709;&#x8FDB;&#x884C;&#x5B89;&#x88C5;&#x3002;&#x6240;&#x4EE5;&#x6211;&#x4EEC;&#x5FC5;&#x987B;&#x5B89;&#x88C5;VisualSVN&#x3002;
 &#x4E0B;&#x8F7D;&#x5730;&#x5740;&#xFF1A;<a href="http://subversion.apache.org/packages.html" target="_blank">http://subversion.apache.org/packages.html</a>
 &#x627E;&#x5230;Windows&#x4E0B;&#x7684;VisualSVN&#x3002;
 &#x8DF3;&#x8F6C;&#x9875;&#x9762;&#x540E;&#x4F1A;&#x51FA;&#x73B0;&#x56DB;&#x4E2A;&#x56FE;&#x6807;&#xFF0C;&#x4E0B;&#x8F7D;&#x84DD;&#x8272;&#x7684;&#x4E00;&#x4E2A;&#xFF08;Apache Subversion command line tools&#xFF09;
 &#x89E3;&#x538B;&#x540E;&#x5728;bin&#x4E2D;&#x627E;&#x5230;svn.exe&#xFF0C;&#x5E76;&#x5C06;&#x6B64;&#x8DEF;&#x5F84;&#x914D;&#x7F6E;&#x5230;Use command line client&#x4E2D;&#x5373;&#x53EF;&#x89E3;&#x51B3;&#x3002;</p>
</blockquote>
</li>
</ol>
</blockquote>
<footer class="page-footer"><span class="copyright">Copyright &#xA9; doc.ickeep.com 2017 all right reserved&#xFF0C;powered by Gitbook</span><span class="footer-modification">&#x8BE5;&#x6587;&#x4EF6;&#x4FEE;&#x8BA2;&#x65F6;&#x95F4;&#xFF1A;
2017-03-10 00:47:55
</span></footer>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="../2.前端规范/6.前后端数据交互说明.html" class="navigation navigation-prev navigation-unique" aria-label="Previous page: 6.前后端数据交互说明">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"常见问题","level":"3.1","depth":1,"previous":{"title":"6.前后端数据交互说明","level":"2.6","depth":1,"path":"2.前端规范/6.前后端数据交互说明.md","ref":"2.前端规范/6.前后端数据交互说明.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","prism","-highlight","search-plus","tbfed-pagefooter","expandable-chapters-small","anchors","edit-link","diy-introduction","sitemap-general","livereload"],"root":"./docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"Copyright &copy doc.ickeep.com 2017","modify_label":"该文件修订时间：","modify_format":"YYYY-MM-DD HH:mm:ss"},"introduction-text":"开发说明","prism":{},"livereload":{},"sitemap-general":{"prefix":"https://doc.ickeep.com"},"fontsettings":{"theme":"white","family":"sans","size":2},"fontSettings":{"theme":"night","family":"sans","size":2},"diy-introduction":{},"favicon":{"shortcut":"/assets/img/favicon.ico","bookmark":"/assets/img/favicon.ico","appleTouch":"/assets/img/apple-touch-icon.png","appleTouchMore":{"120x120":"/assets/img/apple-touch-icon-120x120.png","180x180":"/assets/img/apple-touch-icon-180x180.png"}},"expandable-chapters-small":{},"sharing":{"facebook":false,"twitter":false,"google":false,"weibo":true,"instapaper":false,"vk":false,"all":["facebook","google","twitter","instapaper","instapaper"]},"edit-link":{"label":"编辑此页","base":"https://git.oschina.net/ickeep/dev-doc.git/edit/master"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{},"search-plus":{}},"theme":"default","author":"i@ickeep.com","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.MD","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"邦德前端开发","language":"zh-hans","links":{"sidebar":{"邦德官网":"http://2017hcb.bond520.com/pc/index.html"}},"gitbook":"*","description":"邦德前端开发文档"},"file":{"path":"3.常见问题/常见问题.md","mtime":"2017-03-09T16:47:55.000Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-03-10T13:25:56.104Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-search-plus/jquery.mark.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-plus/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-edit-link/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

